//
//  ViewController.m
//  轮播图
//
//  Created by Snow on 16/7/21.
//  Copyright © 2016年 Snow. All rights reserved.
//

#import "ViewController.h"
#import "GXCycleImages.h"

#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height
#define kScreenBounds [UIScreen mainScreen].bounds
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    NSArray *array = @[@"0", @"1", @"2", @"3", @"4"];
    GXCycleImages *images = [[GXCycleImages alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, 200)];
    images.cycleScrollView.showsHorizontalScrollIndicator = YES;
    [images setImagesWithArray:array];
    [self.view addSubview:images];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
